package org.jeecg.modules.checkInventory.service;

import org.jeecg.modules.checkInventory.entity.CheckInventoryShelf;
import org.jeecg.modules.checkInventory.entity.CheckInventorySku;
import org.jeecg.modules.checkInventory.entity.CheckInventoryResult;
import org.jeecg.modules.checkInventory.entity.CheckInventoryDifference;
import org.jeecg.modules.checkInventory.entity.CheckInventory;
import com.baomidou.mybatisplus.extension.service.IService;
import java.io.Serializable;
import java.util.Collection;
import java.util.List;

/**
 * @Description: 仓库盘点
 * @Author: jeecg-boot
 * @Date:   2023-12-18
 * @Version: V1.0
 */
public interface ICheckInventoryService extends IService<CheckInventory> {

	/**
	 * 添加一对多
	 * 
	 */
	public void saveMain(CheckInventory checkInventory,List<CheckInventoryShelf> checkInventoryShelfList,List<CheckInventorySku> checkInventorySkuList,List<CheckInventoryResult> checkInventoryResultList,List<CheckInventoryDifference> checkInventoryDifferenceList) ;
	
	/**
	 * 修改一对多
	 * 
	 */
	public void updateMain(CheckInventory checkInventory,List<CheckInventoryShelf> checkInventoryShelfList,List<CheckInventorySku> checkInventorySkuList,List<CheckInventoryResult> checkInventoryResultList,List<CheckInventoryDifference> checkInventoryDifferenceList);
	
	/**
	 * 删除一对多
	 */
	public void delMain (String id);
	
	/**
	 * 批量删除一对多
	 */
	public void delBatchMain (Collection<? extends Serializable> idList);
	
}
